package com.sh.data.engine.application.model.mapper.integration;

import com.sh.data.engine.application.model.dto.integration.DataSourceDTO;
import com.sh.data.engine.application.model.dto.integration.DataSourceDetailDTO;
import com.sh.data.engine.domain.integration.datasource.model.domain.DataSourceDetailDomain;
import com.sh.data.engine.domain.integration.datasource.model.domain.DataSourceDomain;
import org.mapstruct.Mapper;

/**
 * @author: mengzheng.mhc
 * @date: 2024/6/3 14:58
 */
@Mapper(componentModel = "spring")
public interface DataSourceDTOMapper {

    DataSourceDTO domainToDTO(DataSourceDomain dataSourceDomain);

    DataSourceDetailDTO domainToDTO(DataSourceDetailDomain dataSourceDetailDomain);
}
